package com.fowo.api.syncLingxingApi.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fowo.api.sys.entity.SysFile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@DS("ds24")
@Data
@TableName(value = "tmp_sync_lingxing_to_spu_info_aux_relation_list", autoResultMap = true)
public class TmpSyncLingxingToSpuInfoAuxRelationList extends TmpSyncLingxingToSpuBase implements Serializable {
    private static final long serialVersionUID = 1L;

    public TmpSyncLingxingToSpuInfoAuxRelationList() {
        super();
    }
    @Schema(title = "父级id")
    @TableField("parent_id")
    private Long parentId;

    @Schema(title = "辅料id")
    @TableField("aux_id")
    @JSONField(name = "aux_id")
    private String auxId;


    @Schema(title = "辅料名称")
    @TableField("aux_name")
    @JSONField(name = "aux_name")
    private String auxName;

    @Schema(title = "辅料sku")
    @TableField("aux_sku")
    @JSONField(name = "aux_sku")
    private String auxSku;

    @Schema(title = "单位成本")
    @TableField("cg_price")
    @JSONField(name = "cg_price")
    private BigDecimal cgPrice;

    @Schema(title = "数量")
    @TableField("quantity")
    @JSONField(name = "quantity")
    private Integer quantity;

    @Schema(title = "备注")
    @TableField("remark")
    @JSONField(name = "remark")
    private String remark;
}



